package com.baomidou.ant.entity;

import java.time.LocalDateTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author jobob
 * @since 2021-03-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class User implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * id
     */
    @TableId(value = "id",type= IdType.AUTO)
    private Integer id;

    /**
     * 用户名
     */
    private String username;

    /**
     * 密码
     */
    private String password;

    /**
     * 用户类型
     */
    private Boolean type;

    /**
     * 手机号
     */
    private String telephone;

    /**
     * 性别
     */
    private String sex;

    /**
     * 省
     */
    private String province;

    /**
     * 市
     */
    private String city;

    /**
     * 积分
     */
    private Integer points;
    /**
     * 最高关纪录
     */
    private Integer highestLevel;

    /**
     * 用户头像路径
     */
    private String userImage;

    /**
     * 注册时间
     */
    private LocalDateTime createTime;
    /**
     * 钻石数量
     */
    private Integer diamonds;
}
